/*
 * TitleLayer.h
 *
 *  Created on: 2013��10��18��
 *      Author: S430
 */

#ifndef TITLELAYER_H_
#define TITLELAYER_H_

#include "cocos2d.h"

class TitleLayer : public cocos2d::CCLayer
{
public:

	virtual bool init();

	void starScaleCallBAack();

	void menuCloseCallback(CCObject* pSender);

	void menuTestCallback();


	void registerWithTouchDispatcher();

	void ccTouchesBegan(cocos2d::CCSet *pTouches, cocos2d::CCEvent *pEvent);

	bool ccTouchBegan(cocos2d::CCTouch * pTouch, cocos2d::CCEvent *pEvent);

	void ccTouchMoved(cocos2d::CCTouch * pTouch, cocos2d::CCEvent *pEvent);

	void ccTouchEnded(cocos2d::CCTouch * pTouch, cocos2d::CCEvent *pEvent);

	CREATE_FUNC(TitleLayer);
};


#endif /* TITLELAYER_H_ */
